/* eslint-disable react/prop-types */
function Test(props) {
  const { title = "默认标题" } = props;
  return (
    <div>
      Test--{title}
      {props.element ? props.element : null}
      {props.obj ? props.cb(props.obj.a, props.obj.b) : null}
    </div>
  );
}

export default Test;
